package entity

import (
	"gitee.com/linxing_3/sr-core/domain/model"
)

func NewSysUserTag() *SysUserTag {
	return &SysUserTag{}
}

type SysUserTagMini struct {
	TagId string `json:"tagId" form:"tagId" gorm:"primaryKey;size:64;comment:标签id"` // 标签id
	Name  string `json:"name" form:"name" gorm:"size:128;comment:标签名称"`             // 标签名称
}

type SysUserTag struct {
	SysUserTagMini

	model.GAllInject
}

func (SysUserTag) TableName() string {
	return "sys_user_tag"
}
